package com.study.observer;

import java.util.Enumeration;
import java.util.Vector;

import lombok.Getter;

@Getter
public class ConcreteObserver implements Observer{

	private String name;
	public ConcreteObserver(String string) {
		this.name = string;
	}

	public void update() {
		System.out.println("ConcreteSubject's Observer update.... " + this.getName());
	}

	

}
